package com.googlecode.jmicroerp.repository;

import com.googlecode.jmicroerp.model.Apometre;
import java.math.BigDecimal;
import java.util.Date;
import java.util.List;
import org.springframework.data.repository.CrudRepository;

/**
 *
 * @author Alexandru.Codescu
 */
public interface ApometreRepository extends CrudRepository<Apometre, Long> {
    List<Object[]> queryByRecipientAll(Long id, Date date);
    List<Object[]> queryApometre(Long id);
    List<BigDecimal> lastIndexByRecipient(Long id);
}
